package cn.com.api.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.com.api.entity.ApiArticle;

public interface ApiArticleMapper {

	public List<Map<String, Object>> sear();

	public Map<String, Object> searById(@Param("id") String id);

	public List<Map<String, Object>> searAll();

	public boolean add(ApiArticle apiArticle);

	public boolean update(ApiArticle apiArticle);

	public boolean delete(@Param("id") String id);

}